package com.mia.props.network;

import cpw.mods.fml.common.network.NetworkRegistry;
import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
import cpw.mods.fml.relauncher.Side;

public enum NetworkHelper {
   INSTANCE;

   public SimpleNetworkWrapper network;

   private NetworkHelper() {
      this.network = NetworkRegistry.INSTANCE.newSimpleChannel("props");
      this.network.registerMessage((Class)Msg0x00SwitchRunning.Handler.class, Msg0x00SwitchRunning.class, 0, Side.CLIENT);
      this.network.registerMessage((Class)Msg0x01SelectDeco.class, Msg0x01SelectDeco.class, 1, Side.SERVER);
   }
}
